package org.bright.service;

import com.github.pagehelper.PageInfo;
import org.bright.entity.PurchaseSettlement;
import com.baomidou.mybatisplus.extension.service.IService;
import org.bright.vo.PurchaseSettlementSuppliersVO;

import java.io.UnsupportedEncodingException;
import java.security.InvalidKeyException;
import java.security.NoSuchAlgorithmException;
import java.util.List;

/**
 * <p>
 * 采购结算表 服务类
 * </p>
 *
 * @author bright
 * @since 2024-10-21
 */
public interface IPurchaseSettlementService extends IService<PurchaseSettlement> {
    int insertInto(PurchaseSettlement purchaseSettlement);
    PageInfo<PurchaseSettlementSuppliersVO> selectPurchaseSettlementSuppliers(int pageNum);
    int updateStatus(String poId,int supplierId) throws UnsupportedEncodingException, NoSuchAlgorithmException, InvalidKeyException;
}
